package org.javaboy.vhr.model;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 菜单表
 */
@Data
public class Menu implements Serializable {
    private Integer id;

    private String url;//菜单url

    private String path;//菜单路径

    private String component;//页面code

    private String name;//页面名称

    private String iconCls;//菜单图标

    private Meta meta;

    private Integer parentId;//父菜单id

    private Boolean enabled;

    private List<Menu> children;//子菜单

    private List<Role> roles;//角色列表
}
